Cast to guint8* to avoid a compiler warning.
authorJohan Dahlin <jdahlin@async.com.br>
Sat, 21 Jun 2008 13:09:57 +0000 (13:09 +0000)
committerJohan Dahlin <johan@src.gnome.org>
Sat, 21 Jun 2008 13:09:57 +0000 (13:09 +0000)
2008-06-21  Johan Dahlin  <jdahlin@async.com.br>

    * gtk/gtkiconcachevalidator.c (check_pixel_data): Cast to guint8* to avoid
    a compiler warning.

svn path=/trunk/; revision=20665

ChangeLog
gtk/gtkiconcachevalidator.c

index 19d13374e09b205f83b6ec9b3d8abd71b9c7bc85..19c57e4cf45f8bb2cc3d400a0ddb538cc1eaeba5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-06-21  Johan Dahlin  <jdahlin@async.com.br>
+
+       * gtk/gtkiconcachevalidator.c (check_pixel_data): Cast to guint8* to avoid
+       a compiler warning.
+
 2008-06-21  Michael Natterer  <mitch@imendio.com>
 
        * gdk/gdkapplaunchcontext.h: remove redundant include, fix
index 5f322d6b39f34880eff9091ceb0fedfad5c21cbf..e567474b2dbca23888a908f7b83b475c35e39107 100644 (file)
@@ -166,7 +166,7 @@ check_pixel_data (CacheInfo *info,
       GdkPixdata data; 
  
       check ("pixel data", gdk_pixdata_deserialize (&data, length,
-                                                    info->cache + offset + 8, 
+                                                    (const guint8*)info->cache + offset + 8, 
                                                     NULL));
     }